// 周
const WEEK_LIST = [
  { value: 1, label: '周一' },
  { value: 2, label: '周二' },
  { value: 3, label: '周三' },
  { value: 4, label: '周四' },
  { value: 5, label: '周五' },
  { value: 6, label: '周六' },
  { value: 7, label: '周日' }
]
function generatemonth (num) {
  const _num = num
  const generatearr = []
  for (let index = 0; index < _num; index++) {
    const _index = index + 1
    generatearr.push({
      value: _index, label: _index >= 10 ? _index : ('0' + _index)
    })
  }
  return generatearr
}
// 月下的所天
const MONT_HLIST = generatemonth(31)
// 所有月日（不含闰年
const MONTH_DAYLIST = [
  {
    value: 1,
    // label: '一月',
    label: '01',
    children: generatemonth(31)
  },
  {
    value: 2,
    label: '02',
    // label: '二月',
    children: generatemonth(28)
  },
  {
    value: 3,
    // label: '三月',
    label: '03',
    children: generatemonth(31)
  },
  {
    value: 4,
    // label: '四月',
    label: '04',
    children: generatemonth(30)
  },
  {
    value: 5,
    // label: '五月',
    label: '05',
    children: generatemonth(31)
  },
  {
    value: 6,
    // label: '六月',
    label: '06',
    children: generatemonth(30)
  },
  {
    value: 7,
    // label: '七月',
    label: '07',
    children: generatemonth(31)
  },
  {
    value: 8,
    // label: '八月',
    label: '08',
    children: generatemonth(31)
  },
  {
    value: 9,
    // label: '九月',
    label: '09',
    children: generatemonth(30)
  },
  {
    value: 10,
    // label: '十月',
    label: '10',
    children: generatemonth(31)
  },
  {
    value: 11,
    // label: '十一月',
    label: '11',
    children: generatemonth(30)
  },
  {
    value: 12,
    // label: '十二月',
    label: '12',
    children: generatemonth(31)
  }
]
export { MONT_HLIST, MONTH_DAYLIST, WEEK_LIST }

